package org.openea.eap.module.obpm.service.form;

import com.alibaba.fastjson.JSONArray;
import org.openbpm.base.manager.Manager;
import org.openea.eap.module.obpm.model.form.FormTemplate;

public interface FormTemplateManager extends Manager<String, FormTemplate> {
  FormTemplate getByKey(String key);

  void initAllTemplate();

  void init();

  boolean isExist(String key);

  void backUpTemplate(String id);

  JSONArray templateData(String boKey, String type);
}
